
#include <stdio.h>



 void f1 (int x);
 void f2 (int *x);

 int main (void){
 int a;
 a = 5;
 printf("a=%d\n", a);
 f1(a);
 printf("a=%d (após f1)\n", a);
 f2(&a);
 printf("a=%d (após f2)\n", a);
 return 0;
 }
 void f1(int x){
 x = x+1;
 printf("x=%d\n", x);
 }
 void f2(int *x){
 *x = *x+1;
 printf("*x=%d\n", *x);
 }
